﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace CSharpDay11__Entity_Framework_.Models
{
    public class Artist
    {
        public int Id { get; set; }
        [Required]
        public string Name { get; set; }
        public bool IsAlive { get; set; }
        public string ImageUrl { get; set; }
        public DateTime? DateDeleted { get; set; }

        public virtual List<Artwork> Artworks { get; set; }
    }
}